package com.fastjrun.common;

public class TaskException extends RuntimeException {
    private static final long serialVersionUID = -282884768957526111L;
    private String code;

    private String msg;

    public TaskException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}